<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

return [
    '__pattern__' => [
        'name' => '\w+',
    ],
    '[hello]' => [
        ':id' => ['index/hello', ['method' => 'get'], ['id' => '\d+']],
        ':name' => ['index/hello', ['method' => 'post']],
    ],
    '__alias__' => [
        'finance' => 'automonitor/finance',
        'user' => 'automonitor/user',
        'net' => 'automonitor/Network',
        'index' => 'automonitor/Index',
        'statdata' => 'automonitor/stat_data',
        'statservice' => 'monitorservice/stat_data',
        'imageservice' => 'monitorservice/image_stat',
        'epayservice' => 'monitorservice/epay',
        'imagestat' => 'automonitor/image_stat',
        'contabemail' => 'monitorservice/contab_email',
        'parkinghardware' => 'monitorservice/parking_hardware',
        'epay' => 'automonitor/epay',
        'export' => 'monitorservice/export_excel',
        'excelmy'  =>  'monitorservice/monitor_mysql',
        'excelwin'  =>  'monitorservice/monitor_windows',
        'boxstate'  =>  'monitorservice/box_state',
        'exportcity' => 'monitorservice/export_city',
        'center' => 'monitorservice/report_center',
        'processes' => 'monitorservice/multiple_processes',
    ],

];
